package cn.zhentao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.zhentao.borrow.pojo.TNotice;
import cn.zhentao.service.TNoticeService;
import cn.zhentao.mapper.TNoticeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author EWEWW
* @description 针对表【t_notice】的数据库操作Service实现
* @createDate 2024-07-12 21:10:02
*/
@Service
public class TNoticeServiceImpl extends ServiceImpl<TNoticeMapper, TNotice>
    implements TNoticeService{
    @Autowired
    private TNoticeMapper noticeMapper;
    //通知查询
    @Override
    public List<TNotice> selbyuid(Integer id) {
        List<TNotice> notices = noticeMapper.selbyuid(id);
        return notices;
    }
}




